package Test2;

import Test.Computer;

public class Test2 {
    public static void main(String[] args) {
        Huipu huipu = new Huipu();
        System.out.println(huipu.toString());
    }
}

class Huipu extends Computer {
       public Huipu(){
           super.name = "huipu";
           System.out.println("子类 构造方法执行");
       }
}